package com.example.dahua.singleton;

/**
 * @author: dangwen
 * @createDate: 2021/7/3
 * 饿汉式
 */
public class Singleton01 {
    private static Singleton01 singleton01 = new Singleton01();
    private Singleton01(){}
    public static Singleton01 getSingleton01(){
        return singleton01;
    }

}
